package com.mike.blog.form;

import lombok.Data;

import javax.validation.constraints.NotEmpty;


/**
 * @author xiaozefeng
 * @date 2018-12-14 16:12
 */
@Data
public class LoginForm {

    @NotEmpty(message = "用户名不能为空")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;
}
